import 'dart:convert';
/// password : "dfa"
/// code : "342432"

UpdatePasswordReq updatePasswordReqFromJson(String str) => UpdatePasswordReq.fromJson(json.decode(str));
String updatePasswordReqToJson(UpdatePasswordReq data) => json.encode(data.toJson());
class UpdatePasswordReq {
  UpdatePasswordReq({
      this.password, 
      this.code,});

  UpdatePasswordReq.fromJson(dynamic json) {
    password = json['password'];
    code = json['code'];
  }
  String? password;
  String? code;
UpdatePasswordReq copyWith({  String? password,
  String? code,
}) => UpdatePasswordReq(  password: password ?? this.password,
  code: code ?? this.code,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['password'] = password;
    map['code'] = code;
    return map;
  }

}